package com.tom.jmgd.entity.param;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tom.jmgd.core.entity.AbstractEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tom
 * @since 2024-05-10
 */
public class TPdD extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pd_d_id", type = IdType.AUTO)
    private Long pdDId;

    @TableField("pd_h_id")
    private Long pdHId;

    @TableField("warecode")
    private String warecode;

    @TableField("warename")
    private String warename;

    @TableField("wareunit")
    private String wareunit;

    @TableField("warespec")
    private String warespec;

    @TableField("factoryname")
    private String factoryname;

    @TableField("areaname")
    private String areaname;

    @TableField("barcode")
    private String barcode;

    @TableField("qty")
    private BigDecimal qty;

    @TableField("pd_name")
    private String pdName;

    @TableField("busno")
    private Integer busno;

    @TableField("orgname")
    private String orgname;

    @TableField("create_datetime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createDatetime;

    @TableField("create_empname")
    private String createEmpname;

    @TableField("notes")
    private String notes;

    @TableField("status")
    private String status;

    @TableField("makeno")
    private String makeno;

    public String getMakeno() {
        return makeno;
    }

    public void setMakeno(String makeno) {
        this.makeno = makeno;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getPdDId() {
        return pdDId;
    }

    public void setPdDId(Long pdDId) {
        this.pdDId = pdDId;
    }
    public Long getPdHId() {
        return pdHId;
    }

    public void setPdHId(Long pdHId) {
        this.pdHId = pdHId;
    }
    public String getWarecode() {
        return warecode;
    }

    public void setWarecode(String warecode) {
        this.warecode = warecode;
    }
    public String getWarename() {
        return warename;
    }

    public void setWarename(String warename) {
        this.warename = warename;
    }
    public String getWareunit() {
        return wareunit;
    }

    public void setWareunit(String wareunit) {
        this.wareunit = wareunit;
    }
    public String getWarespec() {
        return warespec;
    }

    public void setWarespec(String warespec) {
        this.warespec = warespec;
    }
    public String getFactoryname() {
        return factoryname;
    }

    public void setFactoryname(String factoryname) {
        this.factoryname = factoryname;
    }
    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }
    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }
    public String getPdName() {
        return pdName;
    }

    public void setPdName(String pdName) {
        this.pdName = pdName;
    }
    public Integer getBusno() {
        return busno;
    }

    public void setBusno(Integer busno) {
        this.busno = busno;
    }
    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }
    public LocalDateTime getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(LocalDateTime createDatetime) {
        this.createDatetime = createDatetime;
    }
    public String getCreateEmpname() {
        return createEmpname;
    }

    public void setCreateEmpname(String createEmpname) {
        this.createEmpname = createEmpname;
    }
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    @Override
    public String toString() {
        return "TPdD{" +
            "pdDId=" + pdDId +
            ", pdHId=" + pdHId +
            ", warecode=" + warecode +
            ", warename=" + warename +
            ", wareunit=" + wareunit +
            ", warespec=" + warespec +
            ", factoryname=" + factoryname +
            ", areaname=" + areaname +
            ", barcode=" + barcode +
            ", qty=" + qty +
            ", pdName=" + pdName +
            ", busno=" + busno +
            ", orgname=" + orgname +
            ", createDatetime=" + createDatetime +
            ", createEmpname=" + createEmpname +
            ", notes=" + notes +
        "}";
    }
}
